# eric7.QScintilla.Lexers.LexerMarkdown

Module implementing a Markdown lexer with some additional methods.

### Global Attributes

None

### Classes

LexerMarkdown | Subclass to implement some additional lexer dependent methods.

### Functions

createLexer | Function to instantiate a lexer object.

## LexerMarkdown

Subclass to implement some additional lexer dependent methods.

### Derived from

Lexer, QsciLexerMarkdown

### Class Attributes

None

### Class Methods

None

### Methods

LexerMarkdown | Constructor
defaultKeywords | Public method to get the default keywords.

### Static Methods

None

#### LexerMarkdown (Constructor)

LexerMarkdown(parent=None)

Constructor

parent (QWidget)
  parent widget of this lexer

#### LexerMarkdown.defaultKeywords

defaultKeywords(kwSet)

Public method to get the default keywords.

kwSet (int)
  number of the keyword set

Return:
  string giving the keywords or None

Return Type:
  str

Up

## createLexer

createLexer(variant, parent=None)

Function to instantiate a lexer object.

variant (str)
  name of the language variant (unused)
parent (QObject)
  parent widget of this lexer

Return:
  instantiated lexer object

Return Type:
  LexerMarkdown

Up